package com.lln.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

@Data
@TableName("sys_employee")
public class Employee implements Serializable {
    private static final long serialVersionUID = 7572073642253288156L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Long phone;
    private String pic;
    private String password;
    private String salt;
    private Integer status;
    private Integer createId;
    private Timestamp createTime;

    private List<Role> children;
}
